<?
session_start();
if(!isset($_SESSION['idUser']))
	exit();

require("includes/constants.php");
require("includes/selectLanguage.php");
require("includes/funciones.inc.php");

?>

<div class="formsPop">
	<form id="phrasesPopForm" name="phrasesPopForm" method="post">
		<table id="inPopUpN">
			<tbody>
				<tr>
					<td><?=$a_languages['Phrases.Description']?></td>
					<td><textarea id="description" name="description"></textarea></td>
				</tr>
				<tr>
					<td><?=$a_languages['Phrases.Language']?></td>
					<td>
						<select id="cmbLanguage" name="cmbLanguage">
							<option value="es"><?=$a_languages['Languages.Spanish']?></option>
							<option value="en"><?=$a_languages['Languages.English']?></option>
						</select>
					</td>
				</tr>
			</tbody>
		</table>
		<div class="botonesActions">
			<a id="btnExit"><?=$a_languages['Common.Close']?></a>
			<a id="btnSave"><?=$a_languages['Common.Save']?></a>
		</div>
	</form>
</div>

<script>
	$(document).ready(function() {
		$_initPop();
	});
</script>